package com.gitee.wsl.concurrent.exception

import kotlinx.coroutines.CancellationException

class ExecutionException(val exception: Throwable):RuntimeException() {

}

class InterruptedException:RuntimeException() {

}

class TimeoutException(override val message:String):RuntimeException() {

}

class CompletionException(val exception: Throwable?):RuntimeException() {

}

typealias CancellationException = CancellationException

//class CancellationException(val exception: Throwable?):RuntimeException()